﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>300行：测试渲染速度</title>

    <script src="../scripts/boot.js" type="text/javascript"></script>
    
</head>
<body >

<h4>300行：测试渲染速度。</h4>
<div id="grid1" class="mini-datagrid" style="width:100%;height:400px;"     
    url="tasks.txt" showTreeIcon="true"  
    idField="UID" resultAsData="true" pageSize="50"
    allowCellEdit="true" allowCellSelect="true" multiSelect="true"
    showFilterRow="true" 
>
    <div property="columns">
        <div type="indexcolumn"></div>
        <div name="taskname" field="Name" width="200">任务名称
            <input property="editor" class="mini-textbox" style="width:100%;" minHeight="80"/>
            <input property="filter" class="mini-textbox" style="width:100%;" minHeight="80"/>
        </div>
        <div field="Duration" width="100">工期</div>
        <div field="PercentComplete" width="100">进度</div>
        <div field="Start" width="100" dateFormat="yyyy-MM-dd">开始日期</div>
        <div field="Finish" width="100" dateFormat="yyyy-MM-dd">完成日期</div>
    </div>
</div>

</body>
</html>
<script type="text/javascript">
//    var sss = new Date();
//    window.onload = function () {
//        setTimeout(function () {
//            alert(new Date() - sss);
//        }, 1);
//    };


    mini.parse();
    var grid = mini.get("grid1");
    grid.load();
</script>